math function rint
The
rint()
function returns the value of its argument rounded to the nearest integer.